#import <Foundation/Foundation.h>
#import "CTPBaseUrlFetcher.h"

@class CTPFlickrFetcher;

@protocol CTPFlickrFetcherDelegate
- (void)flickrFetcherBegin:(CTPFlickrFetcher*)sender;
- (void)flickrFetcherEnd:(CTPFlickrFetcher*)sender;
- (void)flickrFetcherSucceeded:(CTPFlickrFetcher*)sender data:(NSArray*)data;
- (void)flickrFetcherFailed:(CTPFlickrFetcher*)sender;
@end

@interface CTPFlickrFetcher : CTPBaseUrlFetcher {
	NSObject<CTPFlickrFetcherDelegate> *delegate;
}

-(void)getDataFromFlickr:(NSString*) tags;

@property (readwrite, retain) NSObject<CTPFlickrFetcherDelegate> *delegate;

@end
